projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace4b91
)
Etoomanylambdas
author
João Távora
<joaotavora@gmail.com>
Mon, 7 May 2018 11:18:08 +0000
(12:18 +0100)
committer
João Távora
<joaotavora@gmail.com>
Mon, 7 May 2018 11:18:08 +0000
(12:18 +0100)
* eglot.el (eglot--sync-request): Remove a lambda.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index d6ecdfed188f29ca9413a95b74eea0e9503fcaf0..321307df29af5e60cbfd6f816b28bd5a805adb7a 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-663,9
+663,8
@@
Meaning only return locally if successful, otherwise exit non-locally."
(lambda (&key code message &allow-other-keys)
(eglot--error "Oops: %s: %s" code message)))
:timeout-fn (lambda ()
- (lambda ()
- (eglot--error
- "Tired of waiting for reply to sync request")))
+ (eglot--error
+ "Tired of waiting for reply to sync request"))
:async-p nil))
(cl-defun eglot--notify (process method params)